﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MyTime.RavenDbProvider.Entities
{
    public class TimeItem : MyTime.ProviderFactory.Entities.ITimeItem
    {
        public TimeItem() { }
        public int Id
        {
            get;
            set;
        }

        public string Task
        {
            get;
            set;
        }

        public DateTime StartTime
        {
            get;
            set;
        }

        public DateTime? EndTime
        {
            get;
            set;
        }

        public TimeSpan TotalTime
        {
            get;
            set;
        }

        public int WeekNumber
        {
            get;
            set;
        }

        public bool Current
        {
            get;
            set;
        }

        public int ProjectId
        {
            get;
            set;
        }

        public string ProjectName
        {
            get;
            set;
        }
    }
}
